package com.hephesto.infra.dao.toplink;

import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public class EntityManagerProvider {

	private static EntityManagerFactory emf;

	static {
		emf = Persistence.createEntityManagerFactory("thm");
	}

	public static EntityManager getEntityManager() {
		return emf.createEntityManager();
	}

}